package com.aiti.lulian.mapper.card.industry;

import com.aiti.base.core.base.mapper.SuperMapper;
import com.aiti.lulian.dto.industry.CountyParkQueryDto;
import com.aiti.lulian.entity.industry.CardGovCountyPark;
import com.aiti.lulian.vo.industry.CountyParkVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @description: CardGovCountyParkMapper
 * @auth fcb
 * @date 2025-03-07 09:07
 **/
@Mapper
public interface CardGovCountyParkMapper extends SuperMapper<CardGovCountyPark> {

    void deleteCountyPark(@Param("baseIds") List<String> baseIds);

    List<CountyParkVo> queryCountyParkList(IPage<CountyParkVo> page, @Param("dto") CountyParkQueryDto dto);

    void updateCountyPark(@Param("paramDto") CardGovCountyPark dto);

    Integer queryCountByName(@Param("parkName")String parkName);
}
